<%--
  Created by IntelliJ IDEA.
  User: cwj
  Date: 2023/4/20
  Time: 16:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录成功页面</title>
    <style type="text/css">
        body {
            background-color: #f1f1f1;
            font-family: Arial, sans-serif;
        }
        .container {
            margin: 100px auto;
            padding: 50px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
            width: 500px;
        }
        h1 {
            font-size: 36px;
            margin-bottom: 30px;
            color: #333;
            text-align: center;
        }
        label {
            font-size: 18px;
            font-weight: bold;
            color: #666;
            display: block;
            margin-bottom: 15px;
            margin-top: 30px;
        }
        p {
            font-size: 18px;
            margin-bottom: 30px;
        }箱
        .logout {
            text-align: center;
            margin-top: 50px;
        }
        .logout a {
            font-size: 18px;
            color: #4CAF50;
            text-decoration: none;
            padding: 5px 10px;
            border-radius: 5px;
            background-color: #fff;
            box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
        }
        .logout a:hover {
            color: #fff;
            background-color: #4CAF50;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>登录成功!</h1>
    <p>欢迎您，<%= request.getSession().getAttribute("username") %></p>
    <p>注册时间：<%= request.getSession().getAttribute("date") %></p>
    <p>性别：<%= request.getSession().getAttribute("gender") %></p>
    <div class="logout">
        <a href="logout">退出登录</a>
    </div>
</div>
</body>
</html>

